/* $Id: ContestUsersServlet.java 130 2011-08-26 06:58:30Z altdotua@gmail.com $ */

package alt.djudge.frontend.server.servlets;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import alt.djudge.frontend.server.datatypes.AbstractEntry;
import alt.djudge.frontend.server.models.ContestUsersModel;
import alt.djudge.frontend.server.models.CoreInterface;


public class ContestUsersServlet extends AbstractDataServlet
{
	private static final long serialVersionUID = 1L;

	@Override
	protected CoreInterface<? extends AbstractEntry> getModel()
	{
		return ContestUsersModel.getCore();
	}
	
	@Override
	protected boolean processEdit(HttpServletRequest req, HttpServletResponse resp)
	{
		/*String contestId = req.getParameter("contestId");
		String userId = req.getParameter("userId");
		String userActive = (null != req.getParameter("active")) ? "true" : "false";
		id = ContestUsersModel.editContestUser(id, contestId, userId, userActive);*/
		return true;
	}
}
